From: Kenichi Handa Date: Wed, 5 Mar 1997 07:02:02 +0000 (+0000) Subject: (decode_eol): Fix bug of converting CRLF to LF. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~81935 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=bfd9904870098f760405c8e278a87c0e6f6df860;p=emacs.git (decode_eol): Fix bug of converting CRLF to LF. --- diff --git a/src/coding.c b/src/coding.c index 929e7e666bb..277a9b16678 100644 --- a/src/coding.c +++ b/src/coding.c @@ -1872,7 +1872,7 @@ decode_eol (coding, source, destination, src_bytes, dst_bytes, consumed) ONE_MORE_BYTE (c); if (c != '\n') *dst++ = '\r'; - + *dst++ = c; } else *dst++ = c;